<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加</title>
<#assign base=request.contextPath  />
    <base id="base" href="${base}">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, adminUser-scalable=0">
    <link rel="stylesheet" href="${base}/static/win10/component/layui/css/layui.css" media="all">
    <script>
        var base =  "${base}";
    </script>
</head>
<body>
<br>
<form class="layui-form " action="">


    <button type="button" class="layui-btn" lay-event="edit" id="edit">编辑</button>

         <input disabled type="hidden" id="id" name="id" value="${handoverDateNo.id!}" >
          <div class="layui-form-item">
              <label class="layui-form-label">交接批次号</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="handoverOddNumber" name="handoverOddNumber" value="${handoverDateNo.handoverOddNumber!}"  autocomplete="off" placeholder="请输入交接批次号"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">申领人id （委托人）</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="userId" name="userId" value="${handoverDateNo.userId!}"  autocomplete="off" placeholder="请输入申领人id （委托人）"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">状态 0 交接待确/1 拒绝交接/ 2 交接待审批 / 3交接审批通过 /4 交接审批不通过/</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="claimDateNoState" name="claimDateNoState" value="${handoverDateNo.claimDateNoState!}"  autocomplete="off" placeholder="请输入状态 0 交接待确/1 拒绝交接/ 2 交接待审批 / 3交接审批通过 /4 交接审批不通过/"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">申领单位id（接收单位）</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="unitId" name="unitId" value="${handoverDateNo.unitId!}"  autocomplete="off" placeholder="请输入申领单位id（接收单位）"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">更改日期</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="updateTime" name="updateTime" value="${handoverDateNo.updateTime!}"  autocomplete="off" placeholder="请输入更改日期"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">申领日期</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="createTime" name="createTime" value="${handoverDateNo.createTime!}"  autocomplete="off" placeholder="请输入申领日期"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">不通过原因</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="reasonForFailure" name="reasonForFailure" value="${handoverDateNo.reasonForFailure!}"  autocomplete="off" placeholder="请输入不通过原因"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">交付人（用于交接）</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="handoverUsersId" name="handoverUsersId" value="${handoverDateNo.handoverUsersId!}"  autocomplete="off" placeholder="请输入交付人（用于交接）"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">交付单位（用于交接）</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="handoverUnitId" name="handoverUnitId" value="${handoverDateNo.handoverUnitId!}"  autocomplete="off" placeholder="请输入交付单位（用于交接）"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">审批人</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="claimApprovalUserId" name="claimApprovalUserId" value="${handoverDateNo.claimApprovalUserId!}"  autocomplete="off" placeholder="请输入审批人"
                         class="layui-input">
              </div>
          </div>
</form>
<script src="${base}/static/win10/component/layui/layui.js?t=1"></script>
<script src="${base}/static/win10/js/jquery-1.8.3.min.js?t=1"></script>
<script>

    $("#edit").click(function(){



        window.location.href=base+"/api/handoverDateNo/admin/editHandoverDateNoHtml?id="+"${handoverDateNo.id!}"
    });
</script>
</body>
</html>